package cn.timeapi.Applet.Mall.CatSquare.service.impl;

import cn.timeapi.Applet.Mall.CatSquare.dao.ProductMapper;
import org.apache.commons.codec.digest.DigestUtils;
import org.springframework.beans.factory.annotation.Autowired;


class ManagementAccountServiceImplTest {

    @Autowired
    private ProductMapper productMapper;

    public void test(){
        productMapper.selectByNameAndCategoryIds("%手机%",null);
    }

    public static void main(String[] args) {
        new ManagementAccountServiceImplTest().test();

        System.out.println(DigestUtils.md5Hex("123456".getBytes()));
    }
}